/*
 * PlayersSyncronizer.h
 *
 *  Created on: Nov 16, 2011
 *      Author: gonzalo
 */

#ifndef PLAYERSSYNCRONIZER_H_
#define PLAYERSSYNCRONIZER_H_

#include "../common/Threads/Thread.h"
#include "ColaMensajesRecibirServer.h"

class PlayersSyncronizer :public Thread{
public:
	PlayersSyncronizer(ColaMensajesRecibirServer* mensajesServer);
	virtual ~PlayersSyncronizer();

	void terminar();

protected:
	virtual void* run();

private:
	ColaMensajesRecibirServer* mensajesServer;
	bool running;
};

#endif /* PLAYERSSYNCRONIZER_H_ */
